package com.muyu.danmo.service;

import java.util.List;
import com.muyu.danmo.domain.DanmoAncientDynasties;

/**
 * 古代朝代Service接口
 * 
 * @author yangle
 * @date 2024-09-21
 */
public interface IDanmoAncientDynastiesService 
{
    /**
     * 查询古代朝代
     * 
     * @param id 古代朝代主键
     * @return 古代朝代
     */
    public DanmoAncientDynasties selectDanmoAncientDynastiesById(Long id);

    /**
     * 查询古代朝代列表
     * 
     * @param danmoAncientDynasties 古代朝代
     * @return 古代朝代集合
     */
    public List<DanmoAncientDynasties> selectDanmoAncientDynastiesList(DanmoAncientDynasties danmoAncientDynasties);

    /**
     * 新增古代朝代
     * 
     * @param danmoAncientDynasties 古代朝代
     * @return 结果
     */
    public int insertDanmoAncientDynasties(DanmoAncientDynasties danmoAncientDynasties);

    /**
     * 修改古代朝代
     * 
     * @param danmoAncientDynasties 古代朝代
     * @return 结果
     */
    public int updateDanmoAncientDynasties(DanmoAncientDynasties danmoAncientDynasties);

    /**
     * 批量删除古代朝代
     * 
     * @param ids 需要删除的古代朝代主键集合
     * @return 结果
     */
    public int deleteDanmoAncientDynastiesByIds(Long[] ids);

    /**
     * 删除古代朝代信息
     * 
     * @param id 古代朝代主键
     * @return 结果
     */
    public int deleteDanmoAncientDynastiesById(Long id);
}
